version in DummyLinker). You can use TemplatesOnThisPageFormatter directly.
* EventRelayerGroup::singleton(), deprecated in 1.27, has been removed. You can
use MediaWikiServices::getInstance()->getEventRelayerGroup() directly.
+* LinkCache->addLink(), deprecated in 1.27, has been removed. It is thought to
+ be unused, and is distinct from OutputPage->addLink(), which remains.
=== Deprecations in 1.33 ===
* The configuration option $wgUseESI has been deprecated, and is expected
$this->goodLinks->clear( $dbkey );
}
- /**
- * Add a title to the link cache, return the page_id or zero if non-existent
- *
- * @deprecated since 1.27, unused
- * @param string $title Prefixed DB key
- * @return int Page ID or zero
- */
- public function addLink( $title ) {
- wfDeprecated( __METHOD__, '1.27' );
- $nt = Title::newFromDBkey( $title );
- if ( !$nt ) {
- return 0;
- }
- return $this->addLinkObj( $nt );
- }
-
/**
* Fields that LinkCache needs to select
*